<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        const a = [
            {
                id: 1,
                county: 'USA'
            },
            {
                id: 2,
                county: 'japan'
            },
            {
                id: 3,
                county: 'china',
                area: [{
                    id: 4,
                    county: 'hubei'
                },
                {
                    id: 5,
                    county: 'guangdong'
                }]
            },
        ]
        console.log([...a])
    </script>
</head>
<body>
    
</body>
</html>